package cn.ulc.socket.admin.service.marketing;

import cn.ulc.common.constant.enums.AvailableStatus;
import cn.ulc.common.model.param.PaginationParam;
import cn.ulc.socket.admin.model.dto.advertising.AdvertisingDTO;
import cn.ulc.socket.admin.model.dto.advertising.AdvertisingListDTO;
import cn.ulc.socket.admin.model.param.advertising.AdvertisingParam;

public interface AdvertisingServ {

    AdvertisingListDTO findList(String key,String startDate,String endDate, PaginationParam pager);

    AdvertisingDTO findDetail(Long id);

    Long saveOne(AdvertisingParam param);

    Boolean changeStatus(Long id, AvailableStatus status);

    Boolean deleteOne(Long id);
}
